﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CharacterCreation.Data.Models {
    public class Dexterity : Statistic {

        
        /// <summary>
        /// Gets or sets the InitiativeModifier
        /// </summary>
        public int InitiativeModifier {
            get { return _InitiativeModifier; }
            set {
                _InitiativeModifier = value;
                RaisePropertyChanged("InitiativeModifier");
            }
        }
        private int _InitiativeModifier;

        
        /// <summary>
        /// Gets or sets the CombatPenalty
        /// </summary>
        public int CombatPenalty {
            get { return _CombatPenalty; }
            set {
                _CombatPenalty = value;
                RaisePropertyChanged("CombatPenalty");
            }
        }
        private int _CombatPenalty;
                
        /// <summary>
        /// ctor
        /// </summary>
        public Dexterity() {
            this.Name = "Dexterity";
        }

        public override string ToString() {
            return string.Format("IM:{0}, CP:{1}", this.InitiativeModifier, this.CombatPenalty);
        }
    }
}
